package com.bg8loo.amateur.service.impl;

import com.bg8loo.amateur.dao.UserDao;
import com.bg8loo.amateur.pojo.User;
import com.bg8loo.amateur.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {


    @Autowired
    UserDao userDao;

    @Override
    public User getUserByAccount(String account) {
        return userDao.getUserByAccount(account);
    }
}
